package com.mall.search.server.service;

import com.mall.search.server.vo.SearchParam;
import com.mall.search.server.vo.SearchResult;

import java.io.IOException;

public interface EsSearchService {
    /**
     *  查询es，根据查询条件searchParam,返回封装结果集result
     * @param searchParam
     * @return
     */
    SearchResult search(SearchParam searchParam) throws IOException;

}
